//
//  ToolsServer.h
//  Base_App
//
//  Created by Yutian Duan on 2019/5/30.
//  Copyright © 2019年 Wanwin. All rights reserved.
//

#import "YFBaseServer.h"
#import "UserInfoModel.h"



@interface ToolsServer : YFBaseServer

@property (nonatomic, strong,nullable) UserInfoModel *userModel;

///! 是否登陆中
@property (nonatomic, assign) BOOL isLoginApp;

///! 登录成功之后，查看是绑定
@property (nonatomic, assign) BOOL isBindCard;

///!  登录
- (void)loginWithAccount:(NSString *)account password:(NSString *)password finished:(BaseServer)finish failed:(BaseServerError)failed;

///! 注册
- (void)registAppWithAccount:(NSString *)account code:(NSString *)code password:(NSString *)password againword:(NSString *)againword finished:(BaseServer)finish failed:(BaseServerError)failed;

///! 发验证码
- (void)sendmassgeCodeWithPhone:(NSString *)phone finished:(BaseServer)finish failed:(BaseServerError)failed;

///! 退出登录
- (void)loginOut;


@end


